-
Notifications
You must be signed in to change notification settings - Fork 8
feat(ng): use ng lint schematic #1439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR migrates from TSLint to the Angular ESLint schematic by updating configuration files and removing TSLint-specific comments and directives throughout the codebase.
Key changes include:
- Replacing the manual ESLint configuration with Angular ESLint schematic
- Updating package dependencies to use consolidated angular-eslint and typescript-eslint packages
- Removing TSLint comments (
// tslint:disable,// tslint:enable, etc.) from source files - Modernizing TypeScript by removing explicit type annotations where types can be inferred
- Fixing escape sequences in string literals
- Removing empty constructors from components
Reviewed Changes
Copilot reviewed 32 out of 32 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/igx-templates/igx-ts/projects/_base/files/package.json | Consolidates ESLint-related dependencies into angular-eslint and typescript-eslint packages |
| packages/igx-templates/igx-ts/projects/_base/files/eslint.config.mjs | Removes manual ESLint configuration file |
| packages/igx-templates/igx-ts/projects/_base/files/eslint.config.js | Adds new ESLint configuration using Angular schematic |
| packages/igx-templates/igx-ts/projects/_base/files/angular.json | Updates lint builder configuration to use default config |
| Multiple component and service files | Removes TSLint comments and empty constructors |
| Multiple index.ts files | Removes explicit boolean type annotations |
| data.ts files | Fixes escaped forward slashes in string literals |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 40 out of 40 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Closes #1292.